//
//  UIView+GestureRecognizer.h
//  Beautiful Travel
//
//  Created by Apple on 15/11/24.
//  Copyright © 2015年 Apple. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (GestureRecognizer)
typedef void (^UIGestureRecognizerBlock)(UIGestureRecognizer * gestureRecognizer);
- (void) addTapAction:(UIGestureRecognizerBlock) block;
- (void) addPanAction:(UIGestureRecognizerBlock) block;
- (void) addRotateAction:(UIGestureRecognizerBlock) block;
- (void) addSwipeAction:(UIGestureRecognizerBlock) block directions:(NSArray*) directions;
- (void) addLongPressAction:(UIGestureRecognizerBlock) block;
@end
